<?php
//Our hook
add_shortcode('toggle', 'toggle');

/*
//Our Funciton
function skshort_toggle($atts, $content = null) {
    
    //extracts our attrs . if not set set default
    extract(shortcode_atts(array(
    
        'state' => 'closed',
        'title' => 'Don\'t forget your title attribute!'
    
    ), $atts));
    
    if($state == 'open') {
        
        $class = 'sktoggle-open';
        
    } else {
        
        $class = 'sktoggle-closed';
        
    }
    
    return '<div class="'.$class.'"><div class="toggle-handler">'.$title.'</div><div class="toggle-content">'.do_shortcode($content).'</div></div>';
    
}
*/
// Call it now
$tinymce_button = new dt_add_mce_button(
    'dt_mce_plugin_shortcode_toggle',
    'toggle',
    false
);
?>